<template>
    <div>
        <h1>{{msg}}</h1>
        <button @click="count++">这是一个可以按下的按钮 {{ count }}</button>
    </div>
</template>
<script>
import { ref } from 'vue'
export default{
    name:'xiangying',
    setup(){
        let msg = '这是详情页'
        let count = ref(0)

        return {
            msg,
            count
        }
    }
}
</script>